home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5149 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.mindspring.com!usenet
  2. From: Jim McFarland <smallmac@mindspring.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Open database.mdb file, HOW ?
  5. Date: Fri, 02 Feb 1996 13:46:24 -0500
  6. Organization: MindSpring
  7. Message-ID: <31125C00.7F9E@mindspring.com>
  8. References: <3105FB0F.13DF@hobbe.adb.gu.se> <310FC24A.85F@geis.geis.com>
  9. NNTP-Posting-Host: user-168-121-92-35.dialup.mindspring.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (Win95; I)
  14.  
  15. westley wrote:
  16. > Peter Bohn wrote:
  17. > >
  18. > > How can I open a *.mdb file with C++-coding. Sitting here with
  19. > > MS Vc++ 4.0, and I really don't know how. So please get me started with
  20. > > some lines.
  21. > Your first step is to find out the document structure of an mdb
  22. > file. Some structurs are published in tech manuals IE. Ihave a
  23. > programming book call Advance C which has the structure for
  24. > DBASE. Once you know the structure it simple to write code
  25. > to read one in.Peter,
  26. Since you have Visual C++ 4.0, another option is to use the MFC 4.0 DAO 
  27. classes, which support Access databases.  That is what I am going to use 
  28. in my own C++ programs.  I'm just getting started with VC++ 4, so I 
  29. can't give any more info on using DAO classes yet.  Anyone else have any 
  30. positive or negative experiences with these classes?
  31. -- 
  32. Later...
  33. Jim
  34.  
  35. smallmac@mindspring.com
  36.